package com.strange.mdl.module.mdl.service.debatehall;

import java.util.*;
import jakarta.validation.*;
import com.strange.mdl.module.mdl.controller.admin.debatehall.vo.*;
import com.strange.mdl.module.mdl.dal.dataobject.debatehall.DebatehallDO;
import com.strange.mdl.framework.common.pojo.PageResult;
import com.strange.mdl.framework.common.pojo.PageParam;

/**
 * 辨经殿话题 Service 接口
 *
 * @author 密谛灵总控
 */
public interface DebatehallService {

    /**
     * 创建辨经殿话题
     *
     * @param createReqVO 创建信息
     * @return 编号
     */
    Long createDebatehall(@Valid DebatehallSaveReqVO createReqVO);

    /**
     * 更新辨经殿话题
     *
     * @param updateReqVO 更新信息
     */
    void updateDebatehall(@Valid DebatehallSaveReqVO updateReqVO);

    /**
     * 删除辨经殿话题
     *
     * @param id 编号
     */
    void deleteDebatehall(Long id);

    /**
    * 批量删除辨经殿话题
    *
    * @param ids 编号
    */
    void deleteDebatehallListByIds(List<Long> ids);

    /**
     * 获得辨经殿话题
     *
     * @param id 编号
     * @return 辨经殿话题
     */
    DebatehallDO getDebatehall(Long id);

    /**
     * 获得辨经殿话题分页
     *
     * @param pageReqVO 分页查询
     * @return 辨经殿话题分页
     */
    PageResult<DebatehallDO> getDebatehallPage(DebatehallPageReqVO pageReqVO);


    DebatehallDO get(Long id);

    void operatecomment(Long userId, Long commentId, Integer status);


    DebatehallDO support(Long userId, Long debateId, Integer type);

    DebatehallDO operate(Long userId, Long debateId, String tag, Integer status);
}